package org.zhq.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.zhq.pojo.OrderStatus;
import org.zhq.pojo.vo.MyOrdersVO;

import java.util.List;
import java.util.Map;
@Repository
public interface OrdersMapperCustom {

    IPage<MyOrdersVO> queryMyOrders(Page page, @Param("paramMap") Map<String, Object> paramMap);

    int getMyOrderStatusCounts(@Param("paramMap") Map<String, Object> map);

    IPage<OrderStatus> getMyOrderTrend(Page page,@Param("paramMap") Map<String, Object> map);
}
